package com.bite.book.service;

import com.bite.book.mapper.UserInfoMapper;
import com.bite.book.mode.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserInfoService {
    @Autowired
    private UserInfoMapper userInfoMapper;

    public  UserInfo queryUserInfoByName(String name) {
        return userInfoMapper.queryUserInfoByName(name);

    }
}
